
#ifndef __COND_H
#define __COND_H

class Cond {
 public:
  Cond ();

  void setMutex (Mutex& mu);
  void broadcast ();
  void signal ();
  void wait ();

  ~Cond ();

 private:
  pthread_cond_t condInfo;
  pthread_mutex_t* mutexInfo;
};

#endif /* __COND_H */
